﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebLogin._Default" %>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
 

    //数据库数据展示
     <asp:GridView Id="GV1"
         runat="server"
         OnRowCancelingEdit="GV1_RowCancelingEdit"
         OnRowDeleting="GV1_RowDeleting"
         OnRowUpdating="GV1_RowUpdating"
         OnRowEditing="GV1_RowEditing"
         BackColor="White" BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Horizontal">
         <AlternatingRowStyle BackColor="#F7F7F7"></AlternatingRowStyle>
         <Columns>
             <asp:CommandField ButtonType="Button" HeaderText="操作" ShowDeleteButton="True" ShowEditButton="True" ShowHeader="True" ShowSelectButton="True" />
         </Columns>
         <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
         <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
         <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
         <RowStyle ForeColor="#4A3C8C" BackColor="#E7E7FF" />
         <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
         <SortedAscendingCellStyle BackColor="#F4F4FD" />
         <SortedAscendingHeaderStyle BackColor="#5A4C9D" />
         <SortedDescendingCellStyle BackColor="#D8D8F0" />
         <SortedDescendingHeaderStyle BackColor="#3E3277" />
     </asp:GridView>  

    <table>
        <tr>
            <td>
                <asp:Label ID="Label1" runat="server" Text="用户名"></asp:Label>
                <asp:TextBox ID="TextBox1" runat="server" Width="168px"></asp:TextBox>
            </td>
        </tr>
                <tr>
            <td>
                <asp:Label ID="Label2" runat="server" Text="密码"></asp:Label>
                <asp:TextBox ID="TextBox2" runat="server" Width="168px" TextMode="Password"></asp:TextBox>
            </td>
        </tr>
                <tr>
            <td>
                <asp:Button ID="Button1" runat="server" Text="登录" OnClick="Button1_Click" />
                <asp:Button ID="Button2" runat="server" Text="注册" />
            </td>
        </tr>
    </table>

    //是否忘记密码界面
    <asp:passwordrecovery id="passwordrecovery1" runat="server" backcolor="#eff3fb" bordercolor="#b5c7de" borderpadding="4" borderstyle="solid" borderwidth="1px" font-names="verdana" font-size="0.8em">
        <submitbuttonstyle backcolor="white" bordercolor="#507cd1" borderstyle="solid" borderwidth="1px" font-names="verdana" font-size="0.8em" forecolor="#284e98" />
        <instructiontextstyle font-italic="true" forecolor="black" />
        <successtextstyle font-bold="true" forecolor="#507cd1" />
        <textboxstyle font-size="0.8em" />
        <titletextstyle backcolor="#507cd1" font-bold="true" font-size="0.9em" forecolor="white" />
       
    </asp:passwordrecovery>
   

</asp:Content>
